package com.kk;

import com.config.DIYRibbonRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author o_o
 * @date 2022-07-15
 */
@EnableDiscoveryClient
@SpringBootApplication
@RibbonClient(name = "CONSUL-PROVIDER-PAYMENT", configuration = DIYRibbonRule.class)
public class OrderConsulApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderConsulApplication.class, args);
    }
}
